package com.itheima;

public class minarray {
    public static void main(String[] args) {
        double[] array={12.9,53.54,75.0,99.1,3.14};
        double min=array[0];
        for (int i = 1; i < array.length; i++) {
            if (array[i]<min) {
                min=array[i];
            }
        }
        System.out.println("最小值是"+min);
    }
}
